package com.carleasoft.mps.data.redis.base;

import lombok.Getter;

/**
 * @author yanghao
 * @date 2021-12-08 16:46
 * @project mps
 */
@Getter
public enum CommonCacheEnum {

    /**
     * 注册类型数据
     */
    USER_TEACHER("USER_TEACHER",15),
    ORG_INFO_HASH_DATA("ORG_INFO_HASH_DATA",2),
    USER_CLASS_MANGE("USER_CLASS_MANGE",15),
    SYS_DICT("SYS_DICT",15)
    ;






    /**
     * Key 前缀
     */
    private String key;
    /**
     * 库索引
     */
    private int index;

    CommonCacheEnum(String key, int index) {
        this.key = key;
        this.index = index;
    }
}
